home *** CD-ROM | disk | FTP | other *** search
/ AOL File Library: 4,101 to 4,200 / aol-file-protocol-4400-4101-to-4200.zip / AOLDLs / ADV - Message Board Archives / Archived Msgs_ Event Manager / ADV.EVTMGR.shk / ADV.EvtMgr.Log
Text File  |  1992-09-13  |  6KB  |  190 lines

  1.  
  2. =======================================================================
  3. Archived Messages: "Event Manager"
  4. America Online Apple II Developers Forum.
  5. Go Keyword ADV!
  6. (C) 1992.
  7. ===================================================================jrm=
  8. This topic is for the discussion of the Apple IIGS Event Manager (tool set #6).
  9.  
  10. Type:      Response       
  11. From:      FL Jim
  12. Date:      88-04-04 12:31:47 EST
  13. Re:        Re: Event Manager
  14.  
  15. Moved Message
  16. Subj:  Event Manager                         88-03-30 21:46:39 EDT
  17. From:  BobH56                                Msgs:  4 (88-04-02)
  18.  
  19. The routine, GetMouse, is acting kinda funny.  When the taskmaster returns
  20. 'wInContent', I have a routine that gets the mouse location and stores it then
  21. redraws the window (I'm using TML Pascal).  When I get location from GetMouse,
  22. the exact location of point in the window is about 20 pixels to the right and
  23. 50 pixels to the bottom.  Why is this so?
  24. If someone wants, I can upload the section of program.
  25.              Bob
  26.  
  27.  
  28.  
  29. Type:      Response       
  30. From:      FL Jim
  31. Date:      88-04-04 12:32:30 EST
  32. Re:        Re: Event Manager
  33.  
  34. Moved Message
  35. Subj:  Re: GetMouse                          88-03-31 02:08:43 EDT
  36. From:  A2Pro Tim
  37.  
  38. Bob,
  39.  
  40.      Are you sure that you're using the proper coordinate system???  Some
  41. things are done in global (with respect to the upper left corner of the screen)
  42. and somethings are done in local (with respect to the upper left corner of that
  43. window)...   I use two NDA's to help me with fine tuning layouts:  Mr. Mouse
  44. and Mouse Locator.  One of them is by Gary Little and the other one is by ???
  45. (I'll have to look at the copyright again).  One of those returns global coords
  46. for the pointer and the other returns local!!!  Make figuring things like your
  47. problem out a LOT easier!!
  48.  
  49. Tim S.
  50.  
  51.  
  52.  
  53. Type:      Response       
  54. From:      FL Jim
  55. Date:      88-04-04 12:33:15 EST
  56. Re:        ent Manager
  57.  
  58. Moved Message
  59. Subj:  Re: get mouse                         88-03-31 20:22:59 EDT
  60. From:  AIIDTS
  61.  
  62. Sounds like a confusion between global and local coords to me... you know that
  63. getmouse returns with local coords, so if your routine is designed to process
  64. the event.where and the getmouse data, it would have to special case it.
  65.  
  66. Jim
  67.  
  68.  
  69.  
  70. Type:      Response       
  71. From:      FL Jim
  72. Date:      88-04-04 12:33:46 EST
  73. Re:        Re: Event Manager
  74.  
  75. Moved Message
  76. Subj:  Re: Event Manager                     88-04-02 21:35:53 EDT
  77. From:  BobH56
  78.  
  79. Here's the solution to the problem:  Set the GrafPort to the window that you
  80. want to work on then do a 'GetMouse' and the point will be in that window.
  81.  
  82.                 Bob
  83.  
  84.  
  85.  
  86. Type:      Response       
  87. From:      Dave Lyons
  88. Date:      88-08-22 23:45:33 EST
  89. Re:        Two buttons??
  90.  
  91. The event manager appears to support two buttons, but Apple's mouse has only
  92. one.
  93.  
  94. Presumably a device driver (probably using the FakeMouse routine) could provide
  95. two buttons--is anybody selling a two-button mouse or other device with two
  96. buttons?
  97.  
  98. Is anyone writing software that supports the second button?  (I think not.  A
  99. good use for the second button might be to treat it as a Shift-click of the
  100. first button.)
  101.  
  102. (I wonder how many people bother hitting Apple-6 to see this folder....)
  103.  
  104.  
  105.  
  106. Type:      Response       
  107. From:      AFL Jim
  108. Date:      88-08-23 12:32:57 EST
  109. Re:        Re: Event Manager
  110.  
  111. I don't know of any two button devices, but I do hit OA-6 daily :)
  112.  
  113.  
  114.  
  115. Type:      Response       
  116. From:      JimMensch
  117. Date:      89-08-22 20:28:03 EST
  118. Re:        Re: Event Manager
  119.  
  120. two button mice are a bad idea currently. It seems that everyone who has
  121. implemented any application on the GS does not check which button is being
  122. pressed, hence, both buttons would almost always work the same...
  123.  
  124. Mensch
  125.  
  126.  
  127.  
  128. Type:      Response       
  129. From:      AFA Gary J
  130. Date:      90-09-05 01:08:59 EST
  131. Re:        Event Manager and Mouse (moved)
  132.  
  133.  
  134. Subj:  Event Manager and Mouse               89-11-04 17:00:04 EDT
  135. From:  DanielWest                            Msgs:  3 (89-11-07)
  136.  
  137. I want to be able to use the tools GetMouse and Button but the event manager,
  138. once started is getting in my way.  It displays the cursor, which I do not
  139. need, as this is not a desk top application.  The only reason I started it was
  140. to get at the mouse calls, but if anyone knows how I can read the mouse without
  141. it, or with it disabled or something, I'd like to know.  IT slows everything
  142. down when you move the mouse, probably logging events I have no interest in
  143. using.  Should I forgo the mouse for a joystick?  I like the mouse and would
  144. like a simple tool call to use it.
  145.  
  146.  
  147. Subj:  Well....                              89-11-06 23:04:22 EDT
  148. From:  JonahS
  149.  
  150. If it's just the cursor eing visible that's bugging you, you could try
  151. _HideCursor to, you guessed it, hide the cursor.
  152.  
  153.  
  154. Subj:  Reading the Mouse                     89-11-07 01:52:00 EDT
  155. From:  Dave Lyons
  156.  
  157. Or, if you just want to use the mouse & not the event manager, you can use the
  158. mous calls that are in the Miscellaneous Tools (see TB Reference volume 1).
  159.  
  160. --Dave
  161.  
  162.  
  163.  
  164.  
  165. Type:      Response       
  166. From:      AFA Gary J
  167. Date:      90-09-05 23:32:22 EST
  168. Re:        Event Manager  (moved messages)
  169.  
  170.  
  171. Subj:  Event Mgr ( again! )                  90-06-10 22:12:09 EDT
  172. From:  CodeMaster                            Msgs:  2 (90-06-13)
  173.  
  174.  Can anyone tell me the difference between :
  175.  
  176.  $0A06 GetNextEvent and $1606 GetOSEvent ?
  177.  
  178.  Thanks!
  179.  
  180.  
  181. Subj:  Differences....                       90-06-13 01:27:17 EDT
  182. From:  Coach101
  183.  
  184. A more complete explanation can be found on pages 7-39 through 7-41 of Toolbox
  185. reference 1, but, in a nutshell, whey you call GetNextEvent, the event manager
  186. will pass window type events past the DeskManager to see if a NDA needs to
  187. handle the event.  GetNextOSEvent avoids this step (i.e., you get the event and
  188. the NDAs do not get a chance at the event).  At least that is the way I
  189. interpret the manuals.
  190.